<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>贪吃蛇</title>
</head>

<body>
  <!-- 游戏主窗口 -->
  <div id="main">
    <!-- 游戏舞台 -->
    <div class="stage">
      <!-- 蛇 -->
      <div class="snake">
        <div></div>
      </div>

      <!-- 食物 -->
      <div class="food">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>

    </div>

    <!-- 游戏记分牌 -->
    <div class="score-panel">
      <div>
        SCORE: <span id="score">0</span>
      </div>
      <div>
        level: <span id="level">1</span>
      </div>
    </div>
  </div>
</body>

</html>